! function() {
    var e = {
            725: function() {

            },
            71: function() {

            },
            985: function() {
                var e = document.documentElement,
                    a = function(a, n) {
                        var i = e.clientWidth > n ? n : e.clientWidth;
                        e.style.fontSize = i / a * 100 + "px"
                    };
                $(window).width() < 765 && a(750, 750), window.addEventListener("resize", (function() {
                    console.log("resize"), a(750, 750)
                }), !1)
            }
        },
        a = {};

    function n(i) {
        var t = a[i];
        if (void 0 !== t) return t.exports;
        var s = a[i] = {
            exports: {}
        };
        return e[i](s, s.exports, n), s.exports
    }! function() {
        "use strict";
        n(71), n(985), n(725), $("#nav-item-open").click((function() {
            $("#msite-header-menu").show()
        })), $("#msite-header-menu-close").click((function() {
            $("#msite-header-menu").hide()
        }));
        var e = location.href,
            a = location.origin,
            i = location.search;
        i && sessionStorage.setItem("params", i);
        var t = sessionStorage.getItem("params");
        t = t || "";
        var s = i ? e : a + t;
      
        var o, r = {
                versions: (o = navigator.userAgent, navigator.appVersion, {
                    trident: o.indexOf("Trident") > -1,
                    presto: o.indexOf("Presto") > -1,
                    webKit: o.indexOf("AppleWebKit") > -1,
                    gecko: o.indexOf("Gecko") > -1 && -1 == o.indexOf("KHTML"),
                    mobile: !!o.match(/AppleWebKit.*Mobile.*/),
                    ios: !!o.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
                    android: o.indexOf("Android") > -1 || o.indexOf("Linux") > -1,
                    iPhone: o.indexOf("iPhone") > -1,
                    iPad: o.indexOf("iPad") > -1,
                    webApp: -1 == o.indexOf("Safari")
                }),
                language: (navigator.browserLanguage || navigator.language).toLowerCase()
            },
            d = 0,
            l = new Swiper("#certify .swiper-container", {
                slideToClickedSlide: !0,
                watchSlidesProgress: !0,
                slidesPerView: "auto",
                centeredSlides: !0,
                loop: !0,
                loopedSlides: 5,
                spaceBetween: 200,
                autoplay: {
                    delay: 3e3,
                    stopOnLastSlide: !1,
                    disableOnInteraction: !1
                },
                pagination: {
                    el: ".swiper-pagination",
                    clickable: !0
                },
                on: {
                    progress: function(e) {
                        for (var a = 0; a < this.slides.length; a++) {
                            var n = this.slides.eq(a),
                                i = this.slides[a].progress,
                                t = 1;
                            Math.abs(i) > 1 && (t = .3 * (Math.abs(i) - 1) + 1);
                            var s = i * t * 260 + "px",
                                o = 1 - Math.abs(i) / 5,
                                r = 999 - Math.abs(Math.round(10 * i));
                            n.transform("translateX(" + s + ") scale(" + o + ")"), n.css("zIndex", r), n.css("opacity", 1), Math.abs(i) > 3 && n.css("opacity", 0)
                        }
                    },
                    setTransition: function(e) {
                        for (var a = 0; a < this.slides.length; a++) this.slides.eq(a).transition(e)
                    },
                    slideNextTransitionStart: function() {
                        5 === d && (d = 0), d++, d = $(".swiper-slide-active").data("swiper-slide-index") + 1, $(".page-navbar .list li").eq(d - 1).data("lunbo") === d && $(".page-navbar .list li").eq(d - 1).addClass("active").siblings().removeClass("active"), $(".nav-content .standard").eq(d - 1).data("show") === d && $(".nav-content .standard").eq(d - 1).addClass("show").siblings().removeClass("show")
                    },
                    slidePrevTransitionStart: function() {
                        --d <= 0 && (d = 5), $(".page-navbar .list li").eq(d - 1).data("lunbo") === d && $(".page-navbar .list li").eq(d - 1).addClass("active").siblings().removeClass("active"), $(".nav-content .standard").eq(d - 1).data("show") === d && $(".nav-content .standard").eq(d - 1).addClass("show").siblings().removeClass("show")
                    }
                }
            });
        $(".nav .list li").click((function() {
            l.slideToLoop($(this).index()), d = $(this).index() + 1, $(".page-navbar .list li").eq(d - 1).data("lunbo") === d && $(".page-navbar .list li").eq(d - 1).addClass("active").siblings().removeClass("active"), $(".nav-content .standard").eq(d - 1).data("show") === d && $(".nav-content .standard").eq(d - 1).addClass("show").siblings().removeClass("show")
        })), $("#certify").mousemove((function() {
            d = $(".swiper-slide-active").data("swiper-slide-index") + 1, $(".page-navbar .list li").eq(d - 1).data("lunbo") === d && $(".page-navbar .list li").eq(d - 1).addClass("active").siblings().removeClass("active"), $(".nav-content .standard").eq(d - 1).data("show") === d && $(".nav-content .standard").eq(d - 1).addClass("show").siblings().removeClass("show")
        })), new Swiper(".swiper-container1", {
            loop: !0,
            autoplay: {
                disableOnInteraction: !1,
                delay: 3e3
            },
            on: {
                slideChangeTransitionEnd: function() {
                    for (var e = $(".benefit>a"), a = e.length, n = 0; n < a; n++) this.activeIndex == $(e[n]).data("carousel") ? $(e[n]).addClass("active") : 6 == this.activeIndex ? ($(e[n]).removeClass("active"), $(e[0]).addClass("active")) : 0 == this.activeIndex ? ($(e[n]).removeClass("active"), $(e[4]).addClass("active")) : $(e[n]).removeClass("active")
                }
            }
        }), $(".download-android-btn").click((function() {
            if (console.log(r), r.versions.mobile) {
                var e = navigator.userAgent.toLowerCase();
                "micromessenger" == e.match(/MicroMessenger/i) || "weibo" == e.match(/WeiBo/i) ? $(".hint").css({
                    display: "block"
                }) : "qq" == e.match(/QQ/i) || r.versions.ios || r.versions.android
            }
        }))
    }()
}();